<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <script>
  var age=0;
  for(;age<=18;age++){
	if(age<=3){
		document.write(age+"岁：婴儿期<br>");
	}else if(3<age&&age<=6){
		document.write(age+"岁：幼儿期<br>");	
	}else if(6<age&&age<=11){
		document.write(age+"岁：儿童期<br>");	
	}else if(11<age&&age<=16){
		document.write(age+"岁：少年期<br>");	
	}else{
		document.write(age+"岁：青年期<br>");	
	}
  }
  </script>
 </body>
</html>
